* {
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: #f6f6f6;
  li {
    list-style: none;
  }
  a {
    text-decoration: none;
  }
}
// 清楚input样式
@mixin inp {
  outline-style: none;
  border: none;
}

// 字体样式
/***
  $w字体加粗
  $size字体大小
  $color字体颜色
  $position字体左右位置
  $lingheight字体行高垂直位置
  */
@mixin size($w, $size, $color, $position, $lingheight) {
  font-weight: $w;
  font-size: $size;
  color: $color;
  text-align: $position;
  line-height: $lingheight;
}

@mixin wh($width, $height) {
  width: $width;
  height: $height;
}
// 顶部
.dingbu{
  cursor: pointer;
  position: fixed;
  right: 50px;
  bottom: 315px;
  .dbpic{
   @include wh(60px,60px) 
  } 
}

// =========1头部区域==========
.baseHeader {
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 161px;
  font-size: 14px;
  color: #877a73;

  .wrapper {
    width: 1200px;
    height: 100%;
    margin: 0 auto;

    .logo {
      overflow: hidden;
      float: left;
      margin: 50px 0 0 20px;
      height: 75px;
      width: 225px;
      img {
        float: left;
        width: 100%;
        height: 100%;
      }
    }
    .search {
      position: relative;
      float: left;
      margin-left: 110px;
      margin-top: 53px;
      width: 532px;
      height: 48px;
      box-shadow: inset 0 0 0 2px #43240c;
      border-radius: 30px;
      background: url(../static/sh.png) no-repeat 13px;
      background-size: 20px 20px;
      input {
        position: absolute;
        top: 3px;
        left: 47px;
        width: 355px;
        height: 42px;
        font-size: 16px;
        line-height: 43px;
        color: #43200c;
        @include inp;
      }
      .btn {
        position: absolute;
        top: 3px;
        right: 4px;
        width: 124px;
        height: 42px;
        border-radius: 20px;
        background-color: #fee44e;
        @include size(500, 14px, #43200c, center, 42px);
      }
    }
    .advantage {
      float: right;
      display: flex;
      justify-content: space-between;
      width: 162px;
      height: 60px;
      margin: 43px 86px 0 0;

      li {
        display: flex;
        flex-direction: column;
        font-size: 12px;
      }
      img {
        width: 40px;
        height: 40px;
      }
    }
  }
}

// ===========2导航区域===============
.normal {
  height: 46px;
  background-color: #43240c;
  .navbanner {
    margin: 0 auto;
    width: 1200px;
    height: 46px;

    li {
      float: left;
      height: 100%;

      a {
        display: block;
        padding: 0 100px;
        height: 100%;
        background-color: #fee44e;
        color: #43240c;
      }
      @include size(400px, 14px, #fff, center, 46px);
    }
  }
}

// =============详情区域====================
.container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  position: relative;
 
  .left {
    .show-box {
      width: 350px;
      height: 350px;
      position: relative;
      .showpic{
       width: 350px;
       height: 350px; 
      }
    }
    .mask {
      position: absolute;
      left: 0;
      top: 0;
      width: 200px;
      height: 200px;
      background-color: rgba(199, 223, 67, 0.5);
      /* display: none; */
      pointer-events: none;
      display: none;
    }
    .silds {
      width: 350px;
      display: flex;
      justify-content: space-between;
      li {
        width: 50px;
        height: 50px;
        img{
          width: 60px;
          height: 60px;
        }
      }
    }

  }

  .right {
    background-color: rgba(199, 223, 67, 0.5);
    position: relative;
    margin-left: 40px;
    width: 400px;
    height: 400px;
    overflow: hidden;
    display: none;
    img {
      position: absolute;
      width: 700px;
      height: 700px;
      top: 0;
      left: 0;
    }
  }

  .details {
    @include wh(535px, 320px);
    float: right;
    position: absolute;
    left: 370px;
    top: 0;
    
  }
  .titles {
    font-size: 24px;
    color: #43240c;
    line-height: 33px;
    margin-top: 5px;
    .pic1 {
      @include wh(24px, 24px);
    }
    .pic2 {
      @include wh(42px, 24px);
    }
  }
  .cmd-price {
    width: 530px;
    height: 87px;
    font-size: 16px;
    font-weight: 400;
    color: #b1a9a5;
    line-height: 22px;
    background-color: #f5f5f5;
    overflow: hidden;
    margin-top: 10px;
    .original-price {
      text-decoration: line-through;
      margin-top: 16px;
      margin-left: 16px;
    }
    .last-price {
      span {
        float: left;
        font-size: 20px;
        color: #ff4653;
        margin-top: 10px;
      }
      .quan {
        font-size: 20px;
        color: #ff4653;
        line-height: 28px;
        margin-right: 5px;
      }
      .price {
        font-family: PingFangSC-Semibold;
        font-weight: 600;
        color: #fa585a;
        line-height: 28px;
      }
      .singe-price {
        font-size: 40px;
        font-weight: 700;
        line-height: 12px;
      }
      .info {
        display: inline-block;
        height: 16px;
        background: #feeeee;
        border-radius: 2px;
        border: 1px solid #fa585a;
        font-size: 12px;
        text-align: center;
        line-height: 17px;
        margin-top: 16px;
        margin-left: 10px;
        vertical-align: middle;
      }
      .pepo {
        display: table-cell;
        position: relative;
        font-size: 16px;
        font-weight: 400;
        color: #b1a9a5;
        line-height: 22px;
        vertical-align: middle;
        margin-top: 16px;
        margin-right: 27px;
        float: right;
      }
    }
  }

  // 数量加减
  .quantity {
    height: 30px;
    line-height: 30px;
    margin-top: 15px;

    button {
      @include wh(30px, 30px);
      outline-style: none;
    }
    input {
      @include wh(50px, 25px);
      outline-style: none;
      text-align: center;
    }
  }

  //   加入购物车
  .btna {
    height: 50px;
    margin-top: 50px;
    .left1 {
      display: block;
      float: left;
      @include wh(224px, 50px);
      background-color: red;
      border-radius: 4px;
      margin-top: 11px;
      margin-bottom: 39px;
      @include size(500, 18px, #fff, center, 50px);
    }
    .right1 {
      display: block;
      float: right;
      @include wh(224px, 50px);
      background-color: red;
      border-radius: 4px;
      margin-top: 11px;
      margin-bottom: 39px;
      @include size(500, 18px, #fff, center, 50px);
    }
  }

  // 最右边
  .shop-info {
    position: absolute;
    right: 0;
    width: 275px;
    height: 352px;
    background: #fff;
    border: 1px solid #fee44e;
    font-weight: 500;
    text-align: center;
    .content {
      display: table-cell;
      line-height: 31.5px;
      width: 273px;
      height: 63px;
      margin: 1px 0;
      background: linear-gradient(180deg, #fee44e, #fff 85%, #fff);
      .maijia {
        position: relative;
        .pic3 {
          position: absolute;
          left: 0;
          top: 16px;
        }
        .pic4 {
          position: absolute;
          right: 0;
          top: 16px;
        }
      }
    }

    .sakose {
      @include wh(150px, 150px);
      margin: 3px auto 0;
    }

    .shop-name {
      font-size: 18px;
      color: #43240c;
      line-height: 25px;
      text-align: center;
    }

    .character {
      font-size: 14px;
      color: #b1a9a5;
      line-height: 20px;
      width: 168px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      margin-top: 10px;
    }
    .score {
      font-size: 14px;
      color: #fb9547;
      line-height: 20px;
      width: 168px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      margin-top: 10px;
    }
  }
}


// ===============大图详情页面==========
.picture{
    min-height: 500px;
    margin-top: 10px;
    
    
    .picture-banner{
        width: 1200px;
        min-height: 900px;
        margin: 0 auto;
        padding-top: 100px;
        background-color: #fff;
        .pic {
          width: 100%;
            img{
              width: 790px;
            }
        }
    }    
}



// ====================footer=================
.footer {
  height: 240px;
  margin-top: 81px;
  background-color: #484848;
  .base-footer {
    @include wh(1200px, 240px);
    margin: 0 auto;
    position: relative;

    .img1 {
      @include wh(112px, 112px);
      float: left;
      margin-top: 37px;
      margin-left: 40px;
      margin-right: 19px;
    }
    .xmyx {
      position: absolute;
      left: 170px;
      top: 45px;
      color: #fff;
    }
    .xiangqing {
      position: absolute;
      left: 170px;
      top: 89px;
      color: #fff;
    }
    .xian {
      position: absolute;
      left: 550px;
      top: 80px;
      font-size: 20px;
      color: #ffffff;
    }
    .item {
      position: absolute;
      left: 575px;
      top: 80px;
      font-size: 20px;
      color: #ffffff;
    }
    .footer2 {
      width: 1200px;
      height: 22px;
      position: absolute;
      bottom: 0;
      @include size(500, 18px, #ffffff, center, 22px);

      .police-icon {
        position: absolute;
        left: 340px;
        bottom: 0;
        @include wh(22px, 22px);
        margin-top: 5px;
        float: left;
      }
      .police-icon2 {
        position: absolute;
        right: 345px;
        @include wh(22px, 22px);
      }
      .xinxi {
        position: absolute;
        right: 265px;
      }
    }
  }
}

// ================aqLogoLRRZT===================
.aqLogoLRRZT {
  height: 83px;
  .aqLogo {
    @include wh(1200px, 30px);
    margin: 0 auto;
    text-align: center;
    padding-bottom: 50px;
  }
}
